﻿<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>吉佳建材</title>

<!-- cssList start -->
<style type="text/css">
<!--
*{overflow:hidden; font-size:9pt;}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-image: url(../css/images/admin/bg.gif);
	background-repeat: repeat-x;
}
-->
</style>

<!--  scriptList start -->
<script type="text/javascript" src="../js/jquery-1.7.1.js"></script>

<script type="text/javascript">
$(document).ready(function(){


	 $("#btnSubmit").click(function(){  
		 
		 var username = $("#textfield").val(); 
		 var password = $("#textfield2").val(); 
		 
		 if(username=="admin" && password=="admin"){
			 
			 window.location.href="indexMain.php";
			 
		 }else{
			 
			 alert("用户名密码错误！");
		 }
	 })
});
</script>


</head>

<body>
<table width="100%"  height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="561" style="background:url(../css/images/admin/lbg.gif)"><table width="940" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="238" style="background:url(../css/images/admin/login01.jpg)">&nbsp;</td>
          </tr>
          <tr>
            <td height="190"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="208" height="190" style="background:url(../css/images/admin/login02.jpg)">&nbsp;</td>
                <td width="518" style="background:url(../css/images/admin/login03.jpg)"><table width="320" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="40" height="50"><img src="../css/images/admin/user.gif" width="30" height="30"></td>
                    <td width="38" height="50">用户</td>
                    <td width="242" height="50"><input type="text" name="textfield" id="textfield" style="width:164px; height:32px; line-height:34px; background:url(../css/images/admin/inputbg.gif) repeat-x; border:solid 1px #d1d1d1; font-size:9pt; font-family:Verdana, Geneva, sans-serif;"></td>
                  </tr>
                  <tr>
                    <td height="50"><img src="../css/images/admin/password.gif" width="28" height="32"></td>
                    <td height="50">密码</td>
                    <td height="50"><input type="password" name="textfield2" id="textfield2" style="width:164px; height:32px; line-height:34px; background:url(../css/images/admin/inputbg.gif) repeat-x; border:solid 1px #d1d1d1; font-size:9pt; "></td>
                  </tr>
                  <tr>
                    <td height="40">&nbsp;</td>
                    <td height="40">&nbsp;</td>
                    <td  height="60px"><img  id="btnSubmit" src="../css/images/admin/login.gif" width="95px" height="34px" ></img></td>
                  </tr>
                </table></td>
                <td width="214" style="background:url(../css/images/admin/login04.jpg)" >&nbsp;</td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="133" style="background:url(../css/images/admin/login05.jpg)">&nbsp;</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
